home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 …ember: Reference Library / Dev.CD Dec 94.toast / What's New? / Sample Code / Snippets Update / Simple Imagecompressor ƒ / OffscreenShell.π / OffscreenShell.π.rsrc / ZONE_0 < prev   
Unknown  |  1994-10-21  |  6.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file 370 XA sysV executable not stripped default (weak)
99% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 01 5f 93 f0 01 5f 97 f0 | 01 5f 98 10 01 5f 9a 68 |._..._..|._..._.h|
|00000010| 01 5f 9d 26 01 5f 9d 60 | 01 5f 9f c8 01 5f 9f ea |._.&._.`|._..._..|
|00000020| 01 5f ab f0 00 00 00 00 | 00 39 9d c0 01 14 92 a8 |._......|.9......|
|00000030| 01 70 95 c0 84 00 00 00 | 00 00 00 14 01 25 85 20 |.p......|.....%. |
|00000040| 00 00 00 00 00 00 00 48 | 00 00 00 48 00 00 00 00 |.......H|...H....|
|00000050| 00 08 00 01 00 08 00 00 | 00 00 00 00 34 9c 00 00 |........|....4...|
|00000060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 01 25 85 50 00 00 00 00 | 00 39 9d 70 01 14 92 a8 |.%.P....|.9.p....|
|00000080| 07 c0 03 80 01 00 00 00 | 00 00 00 00 01 25 85 20 |........|.....%. |
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 02 80 |........|........|
|000000a0| 05 40 02 80 01 00 00 00 | 00 00 00 00 00 00 00 00 |.@......|........|
|000000b0| 00 00 00 00 63 53 00 00 | 00 02 00 00 ff ff ff ff |....cS..|........|
|000000c0| 01 25 85 40 00 00 00 00 | 00 39 9d 20 01 14 92 a8 |.%.@....|.9. ....|
|000000d0| 55 55 00 00 00 00 00 00 | 00 00 00 00 01 25 81 50 |UU......|.....%.P|
|000000e0| 00 00 00 00 00 00 00 02 | 00 00 00 09 80 00 00 25 |........|.......%|
|000000f0| 60 00 00 09 80 00 00 02 | 00 00 00 00 00 00 00 00 |`.......|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 67 65 01 25 84 50 |........|..ge.%.P|
|00000120| 01 25 85 f0 00 00 00 00 | 00 39 9c c0 01 14 92 a8 |.%......|.9......|
|00000130| 00 00 63 53 00 00 00 02 | 00 00 ff ff 01 25 85 f0 |..cS....|.....%..|
|00000140| 00 01 77 77 77 77 77 77 | 00 02 55 55 55 55 55 55 |..wwwwww|..UUUUUU|
|00000150| 01 25 86 50 00 00 00 00 | 00 39 9c 90 01 14 92 a8 |.%.P....|.9......|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 25 85 f0 |........|.....%..|
|00000170| 00 00 00 00 00 02 00 00 | 00 09 80 00 00 25 60 00 |........|.....%`.|
|00000180| 00 09 80 00 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 01 25 86 80 00 00 00 00 | 00 39 9c 40 01 14 92 a8 |.%......|.9.@....|
|000001b0| 01 25 86 90 00 00 00 00 | 00 39 9d 00 01 25 85 f0 |.%......|.9...%..|
|000001c0| 61 74 61 0d 09 09 0d 09 | 09 44 69 73 01 25 85 f0 |ata.....|.Dis.%..|
|000001d0| 61 6e 64 6c 65 28 28 48 | 61 6e 64 6c 65 29 63 6f |andle((H|andle)co|
|000001e0| 6d 70 72 65 73 73 65 64 | 44 61 74 61 48 29 20 3b |mpressed|DataH) ;|
|000001f0| 09 0d 09 09 0d 09 09 2f | 2f 20 68 61 6e 64 6c 65 |......./|/ handle|
|00000200| 20 74 68 65 20 65 72 72 | 6f 72 20 61 6e 64 20 62 | the err|or and b|
|00000210| 61 69 6c 20 6f 75 74 2e | 0d 09 09 0d 09 09 43 68 |ail out.|......Ch|
|00000220| 65 63 6b 45 72 72 6f 72 | 28 20 72 65 73 75 6c 74 |eckError|( result|
|00000230| 2c 20 22 5c 70 66 61 69 | 6c 65 64 20 74 6f 20 61 |, "\pfai|led to a|
|00000240| 6c 6c 6f 63 61 74 65 20 | 6d 65 6d 6f 72 79 20 66 |llocate |memory f|
|00000250| 6f 72 20 74 68 65 20 69 | 6d 61 67 65 20 64 65 73 |or the i|mage des|
|00000260| 63 20 68 61 6e 64 6c 65 | 22 20 29 3b 0d 09 09 72 |c handle|" );...r|
|00000270| 65 74 75 72 6e 20 6e 69 | 6c 3b 0d 09 09 0d 09 7d |eturn ni|l;.....}|
|00000280| 0d 0d 09 0d 09 2f 2f 20 | 73 68 6f 75 6c 64 20 2a |.....// |should *|
|00000290| 61 6c 77 61 79 73 2a 20 | 6c 6f 63 6b 20 74 68 65 |always* |lock the|
|000002a0| 20 69 6d 61 67 65 73 20 | 70 69 78 20 6d 61 70 20 | images |pix map |
|000002b0| 64 6f 77 6e 2c 20 62 65 | 66 6f 72 65 20 6d 65 73 |down, be|fore mes|
|000002c0| 73 69 6e 67 20 77 69 74 | 68 20 69 74 2e 0d 09 0d |sing wit|h it....|
|000002d0| 09 4c 6f 63 6b 50 69 78 | 65 6c 73 28 20 74 68 65 |.LockPix|els( the|
|000002e0| 50 69 78 4d 61 70 20 29 | 20 3b 0d 09 0d 09 2f 2f |PixMap )| ;....//|
|000002f0| 20 43 61 6c 6c 20 74 68 | 65 20 69 6d 61 67 65 20 | Call th|e image |
|00000300| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 20 6d 61 6e 61 |compress|ion mana|
|00000310| 67 65 72 20 74 6f 20 63 | 6f 6d 70 72 65 73 73 20 |ger to c|ompress |
|00000320| 74 68 65 20 69 6d 61 67 | 65 2e 0d 09 2f 2f 20 54 |the imag|e...// T|
|00000330| 68 69 73 20 69 73 20 61 | 6c 6c 20 61 20 62 69 74 |his is a|ll a bit|
|00000340| 20 77 69 65 72 64 2c 20 | 74 68 65 20 64 61 74 61 | wierd, |the data|
|00000350| 20 69 6e 20 74 68 65 20 | 70 61 72 61 6d 65 74 65 | in the |paramete|
|00000360| 72 20 d2 64 61 74 61 d3 | 0d 09 2f 2f 20 69 73 20 |r .data.|..// is |
|00000370| 69 6e 20 61 20 70 72 69 | 76 61 74 65 20 51 75 69 |in a pri|vate Qui|
|00000380| 63 6b 54 69 6d 65 20 49 | 43 4d 20 66 6f 72 6d 61 |ckTime I|CM forma|
|00000390| 74 2e 0d 09 2f 2f 20 54 | 6f 20 67 65 74 20 74 68 |t...// T|o get th|
|000003a0| 65 20 63 6f 6d 70 72 65 | 73 73 65 64 20 70 69 63 |e compre|ssed pic|
|000003b0| 74 2c 20 77 65 20 6e 65 | 65 64 20 74 6f 20 6f 70 |t, we ne|ed to op|
|000003c0| 65 6e 20 61 20 50 69 63 | 74 75 72 65 20 61 6e 64 |en a Pic|ture and|
|000003d0| 0d 09 2f 2f 20 64 65 63 | 6f 6d 70 72 65 73 73 20 |..// dec|ompress |
|000003e0| 74 68 65 20 69 6d 61 67 | 65 20 69 6e 74 6f 20 69 |the imag|e into i|
|000003f0| 74 2e 0d 09 0d 09 72 65 | 73 75 6c 74 20 3d 20 46 |t.....re|sult = F|
|00000400| 43 6f 6c 80 72 65 73 73 | 49 6d 61 67 65 28 0d 09 |Col.ress|Image(..|
|00000410| 09 09 09 74 68 65 50 69 | 78 4d 61 70 2c 0d 09 09 |...thePi|xMap,...|
|00000420| 1a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 ff ff ff ff ff ff | ff ff aa cc 37 12 00 00 |........|....7...|
|00000440| 00 24 00 01 00 00 20 2d | 43 4f 4d 50 00 00 00 13 |.$.... -|COMP....|
|00000450| 43 6f 6d 70 72 65 73 73 | 49 6d 61 67 65 54 65 73 |Compress|ImageTes|
|00000460| 74 2e 63 00 00 01 aa cc | 36 22 aa cc 36 22 aa cc |t.c.....|6"..6"..|
|00000470| 36 22 00 00 00 1c 00 02 | 00 00 19 53 4d 41 43 48 |6"......|...SMACH|
|00000480| 00 00 01 0a 4d 61 63 48 | 65 61 64 65 72 73 00 67 |....MacH|eaders.g|
|00000490| 00 01 aa 30 b3 56 aa 30 | b3 56 aa 30 b3 56 00 01 |...0.V.0|.V.0.V..|
|000004a0| 00 24 00 02 00 00 20 2e | 49 4d 41 47 00 00 01 12 |.$.... .|IMAG....|
|000004b0| 49 6d 61 67 65 43 6f 6d | 70 72 65 73 73 69 6f 6e |ImageCom|pression|
|000004c0| 2e 68 00 00 00 02 a9 77 | e9 40 a9 77 e9 40 a9 77 |.h.....w|.@.w.@.w|
|000004d0| e9 40 00 02 00 1e 00 02 | 00 00 20 2e 51 44 4f 46 |.@......|.. .QDOF|
|000004e0| 00 00 01 0d 51 44 4f 66 | 66 73 63 72 65 65 6e 2e |....QDOf|fscreen.|
|000004f0| 68 00 00 01 aa 30 b3 8c | aa 30 b3 8c aa 30 b3 8c |h....0..|.0...0..|
|00000500| 00 03 00 26 00 02 00 00 | 20 2e 51 55 49 43 00 00 |...&....| .QUIC..|
|00000510| 01 15 51 75 69 63 6b 54 | 69 6d 65 43 6f 6d 70 6f |..QuickT|imeCompo|
|00000520| 6e 65 6e 74 73 2e 68 00 | 00 02 aa 30 b3 68 aa 30 |nents.h.|...0.h.0|
|00000530| b3 68 aa 30 b3 68 00 04 | 00 1a 00 02 00 00 20 2e |.h.0.h..|...... .|
|00000540| 4d 4f 56 49 00 00 01 08 | 4d 6f 76 69 65 73 2e 68 |MOVI....|Movies.h|
|00000550| 00 43 00 03 a9 77 e9 40 | a9 77 e9 40 a9 77 e9 40 |.C...w.@|.w.@.w.@|
|00000560| 00 05 00 1a 00 02 00 00 | 20 2e 41 4c 49 41 00 00 |........| .ALIA..|
|00000570| 01 09 41 6c 69 61 73 65 | 73 2e 68 00 00 02 a9 77 |..Aliase|s.h....w|
|00000580| e9 40 a9 77 e9 40 a9 77 | e9 40 00 06 00 18 00 02 |.@.w.@.w|.@......|
|00000590| 00 00 20 2e 56 49 44 45 | 00 00 01 07 56 69 64 65 |.. .VIDE|....Vide|
|000005a0| 6f 2e 68 00 00 01 aa 1e | 46 a0 aa 1e 46 a0 aa 1e |o.h.....|F...F...|
|000005b0| 46 a0 00 07 00 24 00 01 | 00 00 20 2d 43 4f 4d 50 |F....$..|.. -COMP|
|000005c0| 00 00 00 13 43 6f 6d 70 | 72 65 73 73 49 6d 61 67 |....Comp|ressImag|
|000005d0| 65 54 65 73 74 2e 68 00 | 00 02 aa 30 b3 56 aa 30 |eTest.h.|...0.V.0|
|000005e0| b3 56 aa 30 b3 56 00 08 | 00 24 00 02 00 00 20 2e |.V.0.V..|.$.... .|
|000005f0| 49 4d 41 47 00 00 01 12 | 49 6d 61 67 65 43 6f 6d |IMAG....|ImageCom|
|00000600| 70 72 65 73 73 69 6f 6e | 2e 68 00 00 00 02 aa 30 |pression|.h.....0|
|00000610| b3 8c aa 30 b3 8c aa 30 | b3 8c 00 09 00 26 00 02 |...0...0|.....&..|
|00000620| 00 00 20 2e 51 55 49 43 | 00 00 01 15 51 75 69 63 |.. .QUIC|....Quic|
|00000630| 6b 54 69 6d 65 43 6f 6d | 70 6f 6e 65 6e 74 73 2e |kTimeCom|ponents.|
|00000640| 68 00 00 01 aa 22 07 f8 | aa 22 07 f8 aa 22 07 f8 |h...."..|."..."..|
|00000650| 00 0a 00 26 00 01 00 00 | 20 2d 47 45 54 51 00 00 |...&....| -GETQ..|
|00000660| 00 15 47 65 74 51 54 43 | 6f 6d 70 72 65 73 73 65 |..GetQTC|ompresse|
|00000670| 64 50 69 63 74 2e 68 00 | 1a 00 00 00 00 00 00 00 |dPict.h.|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00000690| ff ff aa cc 3a b5 00 00 | 00 26 00 01 00 00 20 2d |....:...|.&.... -|
|000006a0| 47 45 54 51 00 00 00 15 | 47 65 74 51 54 43 6f 6d |GETQ....|GetQTCom|
|000006b0| 70 72 65 73 73 65 64 50 | 69 63 74 2e 63 00 00 01 |pressedP|ict.c...|
|000006c0| aa cc 36 22 aa cc 36 22 | aa cc 36 22 00 00 00 1c |..6"..6"|..6"....|
|000006d0| 00 02 00 00 19 53 4d 41 | 43 48 00 00 01 0a 4d 61 |.....SMA|CH....Ma|
|000006e0| 63 48 65 61 64 65 72 73 | 00 73 00 01 aa cc 35 f4 |cHeaders|.s....5.|
|000006f0| aa cc 35 f4 aa cc 35 f4 | 00 01 00 18 00 02 00 00 |..5...5.|........|
|00000700| 20 2e 54 59 50 45 00 00 | 01 07 54 79 70 65 73 2e | .TYPE..|..Types.|
|00000710| 68 00 00 01 a9 77 e9 40 | a9 77 e9 40 a9 77 e9 40 |h....w.@|.w.@.w.@|
|00000720| 00 02 00 18 00 02 00 00 | 20 2e 54 52 41 50 00 00 |........| .TRAP..|
|00000730| 01 07 54 72 61 70 73 2e | 68 00 00 01 a9 77 e9 40 |..Traps.|h....w.@|
|00000740| a9 77 e9 40 a9 77 e9 40 | 00 03 00 1a 00 02 00 00 |.w.@.w.@|........|
|00000750| 20 2e 4d 45 4d 4f 00 00 | 01 08 4d 65 6d 6f 72 79 | .MEMO..|..Memory|
|00000760| 2e 68 00 73 00 01 a9 77 | e9 40 a9 77 e9 40 a9 77 |.h.s...w|.@.w.@.w|
|00000770| e9 40 00 04 00 1a 00 02 | 00 00 20 2e 45 52 52 4f |.@......|.. .ERRO|
|00000780| 00 00 01 08 45 72 72 6f | 72 73 2e 68 00 73 00 01 |....Erro|rs.h.s..|
|00000790| aa cc 35 5d aa cc 35 5d | aa cc 35 5d 00 05 00 1a |..5]..5]|..5]....|
|000007a0| 00 02 00 00 20 2e 46 49 | 58 4d 00 00 01 09 46 69 |.... .FI|XM....Fi|
|000007b0| 78 4d 61 74 68 2e 68 00 | 00 01 aa 30 b3 68 aa 30 |xMath.h.|...0.h.0|
|000007c0| b3 68 aa 30 b3 68 00 06 | 00 1a 00 02 00 00 20 2e |.h.0.h..|...... .|
|000007d0| 4d 4f 56 49 00 00 00 08 | 4d 6f 76 69 65 73 2e 68 |MOVI....|Movies.h|
|000007e0| 00 00 00 02 a9 77 e9 40 | a9 77 e9 40 a9 77 e9 40 |.....w.@|.w.@.w.@|
|000007f0| 00 07 00 1a 00 02 00 00 | 20 2e 41 4c 49 41 00 00 |........| .ALIA..|
|00000800| 01 09 41 6c 69 61 73 65 | 73 2e 68 00 00 02 aa 30 |..Aliase|s.h....0|
|00000810| b3 56 aa 30 b3 56 aa 30 | b3 56 00 08 00 24 00 02 |.V.0.V.0|.V...$..|
|00000820| 00 00 20 2e 49 4d 41 47 | 00 00 01 12 49 6d 61 67 |.. .IMAG|....Imag|
|00000830| 65 43 6f 6d 70 72 65 73 | 73 69 6f 6e 2e 68 00 2e |eCompres|sion.h..|
|00000840| 00 03 a9 77 e9 40 a9 77 | e9 40 a9 77 e9 40 00 09 |...w.@.w|.@.w.@..|
|00000850| 00 1e 00 02 00 00 20 2e | 51 44 4f 46 00 00 01 0d |...... .|QDOF....|
|00000860| 51 44 4f 66 66 73 63 72 | 65 65 6e 2e 68 00 00 01 |QDOffscr|een.h...|
|00000870| aa 30 b3 56 aa 30 b3 56 | aa 30 b3 56 00 0a 00 24 |.0.V.0.V|.0.V...$|
|00000880| 00 02 00 00 20 2e 49 4d | 41 47 00 00 00 12 49 6d |.... .IM|AG....Im|
|00000890| 61 67 65 43 6f 6d 70 72 | 65 73 73 69 6f 6e 2e 68 |ageCompr|ession.h|
|000008a0| 00 2e 00 01 aa 30 b3 8c | aa 30 b3 8c aa 30 b3 8c |.....0..|.0...0..|
|000008b0| 00 0b 00 26 00 02 00 00 | 20 2e 51 55 49 43 00 00 |...&....| .QUIC..|
|000008c0| 00 15 51 75 69 63 6b 54 | 69 6d 65 43 6f 6d 70 6f |..QuickT|imeCompo|
|000008d0| 6e 65 6e 74 73 2e 68 00 | 00 02 a9 77 e9 40 a9 77 |nents.h.|...w.@.w|
|000008e0| e9 40 a9 77 e9 40 00 0c | 00 18 00 02 00 00 20 2e |.@.w.@..|...... .|
|000008f0| 56 49 44 45 00 00 01 07 | 56 69 64 65 6f 2e 68 00 |VIDE....|Video.h.|
|00000900| 00 01 aa 22 07 f8 aa 22 | 07 f8 aa 22 07 f8 00 0d |..."..."|..."....|
|00000910| 00 26 00 01 00 00 20 2d | 47 45 54 51 00 00 00 15 |.&.... -|GETQ....|
|00000920| 47 65 74 51 54 43 6f 6d | 70 72 65 73 73 65 64 50 |GetQTCom|pressedP|
|00000930| 69 63 74 2e 68 00 00 00 | 00 00 00 00 00 00 00 00 |ict.h...|........|
|00000940| 00 00 00 00 00 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|00000950| a9 d0 22 8f 00 00 00 1a | 00 02 00 00 19 da 4d 41 |..".....|......MA|
|00000960| 43 54 00 00 00 08 4d 61 | 63 54 72 61 70 73 00 72 |CT....Ma|cTraps.r|
|00000970| 1a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 ff ff ff ff ff ff | ff ff aa cc 38 1c 00 00 |........|....8...|
|00000990| 00 22 00 01 00 00 20 2d | 4f 46 46 53 00 00 00 10 |.".... -|OFFS....|
|000009a0| 4f 66 66 73 63 72 65 65 | 6e 53 68 65 6c 6c 2e 63 |Offscree|nShell.c|
|000009b0| 00 63 00 01 aa cc 36 22 | aa cc 36 22 aa cc 36 22 |.c....6"|..6"..6"|
|000009c0| 00 00 00 1c 00 02 00 00 | 19 53 4d 41 43 48 00 00 |........|.SMACH..|
|000009d0| 01 0a 4d 61 63 48 65 61 | 64 65 72 73 00 65 00 01 |..MacHea|ders.e..|
|000009e0| aa 4e 16 f0 aa 4e 16 f0 | aa 4e 16 f0 00 01 00 18 |.N...N..|.N......|
|000009f0| 00 02 00 00 20 2e 4d 45 | 4e 55 00 00 01 07 6d 65 |.... .ME|NU....me|
|00000a00| 6e 75 73 2e 68 00 00 01 | a9 77 e9 40 a9 77 e9 40 |nus.h...|.w.@.w.@|
|00000a10| a9 77 e9 40 00 02 00 1c | 00 02 00 00 20 2e 50 49 |.w.@....|.... .PI|
|00000a20| 43 54 00 00 01 0a 50 69 | 63 74 55 74 69 6c 2e 68 |CT....Pi|ctUtil.h|
|00000a30| 00 65 00 02 a9 77 e9 40 | a9 77 e9 40 a9 77 e9 40 |.e...w.@|.w.@.w.@|
|00000a40| 00 03 00 1c 00 02 00 00 | 20 2e 50 41 4c 45 00 00 |........| .PALE..|
|00000a50| 01 0a 50 61 6c 65 74 74 | 65 73 2e 68 00 65 00 01 |..Palett|es.h.e..|
|00000a60| a9 77 e9 40 a9 77 e9 40 | a9 77 e9 40 00 04 00 1e |.w.@.w.@|.w.@....|
|00000a70| 00 02 00 00 20 2e 51 44 | 4f 46 00 00 01 0d 51 44 |.... .QD|OF....QD|
|00000a80| 4f 66 66 53 63 72 65 65 | 6e 2e 68 00 00 01 aa 1e |OffScree|n.h.....|
|00000a90| 4a 0c aa 1e 4a 0c aa 1e | 4a 0c 00 05 00 22 00 01 |J...J...|J...."..|
|00000aa0| 00 00 20 2d 4f 46 46 53 | 00 00 00 10 4f 66 66 73 |.. -OFFS|....Offs|
|00000ab0| 63 72 65 65 6e 53 68 65 | 6c 6c 2e 68 00 63 00 01 |creenShe|ll.h.c..|
|00000ac0| aa 1e 46 a0 aa 1e 46 a0 | aa 1e 46 a0 00 06 00 24 |..F...F.|..F....$|
|00000ad0| 00 01 00 00 20 2d 43 4f | 4d 50 00 00 00 13 43 6f |.... -CO|MP....Co|
|00000ae0| 6d 70 72 65 73 73 49 6d | 61 67 65 54 65 73 74 2e |mpressIm|ageTest.|
|00000af0| 68 00 00 02 aa 30 b3 56 | aa 30 b3 56 aa 30 b3 56 |h....0.V|.0.V.0.V|
|00000b00| 00 07 00 24 00 02 00 00 | 20 2e 49 4d 41 47 00 00 |...$....| .IMAG..|
|00000b10| 01 12 49 6d 61 67 65 43 | 6f 6d 70 72 65 73 73 69 |..ImageC|ompressi|
|00000b20| 6f 6e 2e 68 00 00 00 02 | aa 30 b3 8c aa 30 b3 8c |on.h....|.0...0..|
|00000b30| aa 30 b3 8c 00 08 00 26 | 00 02 00 00 20 2e 51 55 |.0.....&|.... .QU|
|00000b40| 49 43 00 00 01 15 51 75 | 69 63 6b 54 69 6d 65 43 |IC....Qu|ickTimeC|
|00000b50| 6f 6d 70 6f 6e 65 6e 74 | 73 2e 68 00 00 03 aa 30 |omponent|s.h....0|
|00000b60| b3 68 aa 30 b3 68 aa 30 | b3 68 00 09 00 1a 00 02 |.h.0.h.0|.h......|
|00000b70| 00 00 20 2e 4d 4f 56 49 | 00 00 01 08 4d 6f 76 69 |.. .MOVI|....Movi|
|00000b80| 65 73 2e 68 00 43 00 04 | a9 77 e9 40 a9 77 e9 40 |es.h.C..|.w.@.w.@|
|00000b90| a9 77 e9 40 00 0a 00 1a | 00 02 00 00 20 2e 41 4c |.w.@....|.... .AL|
|00000ba0| 49 41 00 00 01 09 41 6c | 69 61 73 65 73 2e 68 00 |IA....Al|iases.h.|
|00000bb0| 00 03 a9 77 e9 40 a9 77 | e9 40 a9 77 e9 40 00 0b |...w.@.w|.@.w.@..|
|00000bc0| 00 18 00 02 00 00 20 2e | 56 49 44 45 00 00 01 07 |...... .|VIDE....|
|00000bd0| 56 69 64 65 6f 2e 68 00 | 00 00 00 00 2d 2d 2d 2d |Video.h.|....----|
|00000be0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 00 00 00 01 00 00 |--------|--......|
|00000bf0| 00 08 04 6d 61 69 6e 20 | 20 20 0d 0d 4f 53 45 72 |...main | ..OSEr|
|00000c00| 72 20 47 65 74 43 6f 6d | 70 72 65 73 73 69 6f 6e |r GetCom|pression|
|00000c10| 53 65 74 74 69 6e 67 73 | 28 09 57 69 6e 64 6f 77 |Settings|(.Window|
|00000c20| 50 74 72 09 09 09 74 68 | 65 57 69 6e 64 6f 77 2c |Ptr...th|eWindow,|
|00000c30| 20 0d 09 09 09 09 09 09 | 09 09 53 43 50 61 72 61 | .......|..SCPara|
|00000c40| 6d 73 20 09 09 09 2a 70 | 61 72 61 6d 73 2c 20 0d |ms ...*p|arams, .|
|00000c50| 09 09 09 09 09 09 09 09 | 43 6f 6d 70 6f 6e 65 6e |........|Componen|
|00000c60| 74 49 6e 73 74 61 6e 63 | 65 09 63 69 20 29 0d 7b |tInstanc|e.ci ).{|
|00000c70| 0d 09 43 6f 6d 70 6f 6e | 65 6e 74 52 65 73 75 6c |..Compon|entResul|
|00000c80| 74 09 09 72 65 73 75 6c | 74 20 3d 20 6e 6f 45 72 |t..resul|t = noEr|
|00000c90| 72 3b 0d 09 50 6f 69 6e | 74 09 09 09 09 77 68 65 |r;..Poin|t....whe|
|00000ca0| 72 65 3b 0d 09 47 57 6f | 72 6c 64 50 74 72 09 09 |re;..GWo|rldPtr..|
|00000cb0| 09 74 68 65 4e 65 77 57 | 6f 72 6c 64 20 3b 0d 09 |.theNewW|orld ;..|
|00000cc0| 50 69 78 4d 61 70 48 61 | 6e 64 6c 65 09 09 6f 66 |PixMapHa|ndle..of|
|00000cd0| 66 50 69 78 4d 61 70 20 | 3b 0d 0d 09 0d 09 2f 2f |fPixMap |;.....//|
|00000ce0| 09 09 09 0d 09 2f 2f 09 | 54 65 6c 6c 20 53 74 61 |.....//.|Tell Sta|
|00000cf0| 6e 64 61 72 64 20 43 6f | 6d 70 72 65 73 73 69 6f |ndard Co|mpressio|
|00000d00| 6e 20 74 6f 20 75 73 65 | 20 74 68 65 20 63 68 6f |n to use| the cho|
|00000d10| 73 65 6e 20 77 69 6e 64 | 6f 77 20 0d 09 2f 2f 09 |sen wind|ow ..//.|
|00000d20| 66 6f 72 20 74 68 65 20 | 74 65 73 74 20 69 6d 61 |for the |test ima|
|00000d30| 67 65 2e 20 53 74 61 6e | 64 61 72 64 20 63 6f 6d |ge. Stan|dard com|
|00000d40| 70 72 65 73 73 69 6f 6e | 20 77 69 6c 6c 20 61 6c |pression| will al|
|00000d50| 73 6f 20 0d 09 2f 2f 09 | 61 63 63 65 70 74 20 70 |so ..//.|accept p|
|00000d60| 69 63 74 20 68 61 6e 64 | 6c 65 73 20 66 6f 72 20 |ict hand|les for |
|00000d70| 74 68 65 20 74 65 73 74 | 20 69 6d 61 67 65 20 75 |the test| image u|
|00000d80| 73 69 6e 67 20 74 68 65 | 20 0d 09 2f 2f 09 53 43 |sing the| ..//.SC|
|00000d90| 53 65 74 54 65 73 74 49 | 6d 61 67 65 50 69 63 74 |SetTestI|magePict|
|00000da0| 48 61 6e 64 6c 65 20 63 | 61 6c 6c 2e 20 20 41 20 |Handle c|all. A |
|00000db0| 6e 75 6d 62 65 72 20 6f | 66 20 66 69 6c 65 0d 09 |number o|f file..|
|00000dc0| 2f 2f 09 62 61 73 65 64 | 20 72 6f 75 74 69 6e 65 |//.based| routine|
|00000dd0| 73 20 61 72 65 20 61 76 | 61 69 6c 61 62 6c 65 20 |s are av|ailable |
|00000de0| 66 6f 72 20 63 6f 6d 70 | 72 65 73 73 69 6e 67 20 |for comp|ressing |
|00000df0| 50 49 43 54 0d 09 2f 2f | 09 66 69 6c 65 73 20 22 |PICT..//|.files "|
|00000e00| 69 6e 20 70 6c 61 63 65 | 22 2e 20 20 20 54 68 65 |in place|". The|
|00000e10| 20 70 69 63 74 20 66 69 | 6c 65 20 63 61 6c 6c 20 | pict fi|le call |
|00000e20| 69 73 20 6f 66 74 65 6e | 20 0d 09 2f 2f 09 6d 6f |is often| ..//.mo|
|00000e30| 72 65 20 63 6f 6e 76 65 | 6e 69 65 6e 74 2c 20 62 |re conve|nient, b|
|00000e40| 75 74 20 77 65 20 77 61 | 6e 74 20 74 6f 20 64 65 |ut we wa|nt to de|
|00000e50| 6d 6f 20 6f 66 66 73 63 | 72 65 65 6e 0d 09 2f 2f |mo offsc|reen..//|
|00000e60| 09 6d 61 6e 69 70 75 6c | 61 74 69 6f 6e 73 20 66 |.manipul|ations f|
|00000e70| 6f 72 20 74 68 69 73 20 | 73 61 6d 70 6c 65 0d 09 |or this |sample..|
|00000e80| 0d 09 2f 2f 20 67 65 74 | 20 74 68 65 20 47 57 6f |..// get| the GWo|
|00000e90| 72 6c 64 20 66 72 6f 6d | 20 74 68 65 20 77 69 6e |rld from| the win|
|00000ea0| 64 6f 77 20 72 65 66 63 | 6f 6e 0d 09 74 68 65 4e |dow refc|on..theN|
|00000eb0| 65 77 57 6f 72 6c 64 20 | 3d 20 28 47 57 6f 72 6c |ewWorld |= (GWorl|
|00000ec0| 64 50 74 72 29 47 65 74 | 57 52 65 66 43 6f 6e 20 |dPtr)Get|WRefCon |
|00000ed0| 28 20 74 68 65 57 69 6e | 64 6f 77 20 29 3b 0d 09 |( theWin|dow );..|
|00000ee0| 6f 66 66 50 69 78 4d 61 | 70 20 3d 20 47 65 74 47 |offPixMa|p = GetG|
|00000ef0| 57 6f 72 6c 64 50 69 78 | 4d 61 70 28 20 74 68 65 |WorldPix|Map( the|
|00000f00| 4e 65 77 57 6f 72 6c 64 | 20 29 20 3b 0d 0d 09 4c |NewWorld| ) ;...L|
|00000f10| 6f 63 6b 50 69 78 65 6c | 73 28 20 6f 66 66 50 69 |ockPixel|s( offPi|
|00000f20| 78 4d 61 70 20 29 20 3b | 0d 09 0d 09 2f 2f 20 53 |xMap ) ;|....// S|
|00000f30| 43 53 65 74 54 65 73 74 | 49 6d 61 67 65 50 69 78 |CSetTest|ImagePix|
|00000f40| 4d 61 70 20 69 73 20 64 | 65 66 69 6e 65 64 20 69 |Map is d|efined i|
|00000f50| 6e 20 74 68 65 20 53 74 | 64 43 6f 6d 70 72 65 73 |n the St|dCompres|
|00000f60| 73 69 6f 6e 20 67 6c 75 | 65 0d 09 2f 2f 20 74 68 |sion glu|e..// th|
|00000f70| 69 73 20 6a 75 73 74 20 | 67 65 74 73 20 61 6e 20 |is just |gets an |
|00000f80| 61 72 65 61 20 6f 66 20 | 74 68 65 20 69 6d 61 67 |area of |the imag|
|00000f90| 65 20 74 6f 20 64 69 73 | 70 6c 61 79 20 61 73 20 |e to dis|play as |
|00000fa0| 61 20 73 6d 61 6c 6c 20 | 73 61 6d 70 6c 65 0d 09 |a small |sample..|
|00000fb0| 2f 2f 20 6f 66 20 77 68 | 61 74 20 63 6f 6d 70 72 |// of wh|at compr|
|00000fc0| 65 73 73 69 6f 6e 20 77 | 69 6c 6c 20 6c 6f 6f 6b |ession w|ill look|
|00000fd0| 20 6c 69 6b 65 20 69 6e | 20 74 68 65 20 73 74 61 | like in| the sta|
|00000fe0| 6e 64 61 72 64 20 63 6f | 6d 70 72 65 73 73 69 6f |ndard co|mpressio|
|00000ff0| 6e 20 64 69 61 6c 6f 67 | 0d 09 0d 09 72 65 73 75 |n dialog|....resu|
|00001000| 6c 74 20 3d 20 53 43 53 | 65 74 54 65 73 74 49 6d |lt = SCS|etTestIm|
|00001010| 61 67 65 50 69 78 4d 61 | 70 28 0d 09 09 09 09 63 |agePixMa|p(.....c|
|00001020| 69 2c 09 09 09 09 09 09 | 09 09 2f 2f 20 6f 75 72 |i,......|..// our|
|00001030| 20 69 6e 73 74 61 6e 63 | 65 20 6f 66 20 74 68 65 | instanc|e of the|
|00001040| 20 73 74 61 6e 64 61 72 | 64 20 63 6f 6d 70 72 65 | standar|d compre|
|00001050| 73 73 69 6f 6e 20 63 6f | 6d 70 6f 6e 65 6e 74 20 |ssion co|mponent |
|00001060| 0d 09 09 09 09 6f 66 66 | 50 69 78 4d 61 70 2c 09 |.....off|PixMap,.|
|00001070| 09 09 09 09 09 2f 2f 20 | 70 69 78 4d 61 70 20 66 |.....// |pixMap f|
|00001080| 6f 72 20 73 6f 75 72 63 | 65 20 70 69 63 74 75 72 |or sourc|e pictur|
|00001090| 65 20 0d 09 09 09 09 6e | 69 6c 2c 09 09 09 09 09 |e .....n|il,.....|
|000010a0| 09 09 2f 2f 20 77 65 20 | 64 6f 6e 27 74 20 68 61 |..// we |don't ha|
|000010b0| 76 65 20 72 65 63 74 61 | 6e 67 6c 65 20 6f 66 20 |ve recta|ngle of |
|000010c0| 69 6e 74 65 72 65 73 74 | 20 73 6f 20 75 73 65 20 |interest| so use |
|000010d0| 74 68 65 20 65 6e 74 69 | 72 65 20 69 6d 61 67 65 |the enti|re image|
|000010e0| 20 0d 09 09 09 09 73 63 | 50 72 65 66 65 72 53 63 | .....sc|PreferSc|
|000010f0| 61 6c 69 6e 67 41 6e 64 | 43 72 6f 70 70 69 6e 67 |alingAnd|Cropping|
|00001100| 29 3b 09 2f 2f 20 73 63 | 61 6c 65 20 74 68 65 20 |);.// sc|ale the |
|00001110| 74 65 73 74 20 69 6d 61 | 67 65 20 64 6f 77 6e 20 |test ima|ge down |
|00001120| 75 6e 74 69 6c 20 72 65 | 61 73 6f 6e 61 62 6c 79 |until re|asonably|
|00001130| 20 73 6d 61 6c 6c 0d 09 | 09 09 09 09 09 09 09 09 | small..|........|
|00001140| 09 09 09 2f 2f 09 61 6e | 64 20 74 68 65 6e 20 63 |...//.an|d then c|
|00001150| 72 6f 70 20 74 68 61 74 | 20 74 6f 20 74 68 65 20 |rop that| to the |
|00001160| 74 65 73 74 20 69 6d 61 | 67 65 20 62 6f 78 2e 0d |test ima|ge box..|
|00001170| 09 09 09 09 09 09 09 09 | 09 09 09 09 20 0d 09 55 |........|.... ..U|
|00001180| 6e 6c 6f 63 6b 50 69 78 | 65 6c 73 28 20 6f 66 66 |nlockPix|els( off|
|00001190| 50 69 78 4d 61 70 20 29 | 20 3b 0d 0d 09 69 66 20 |PixMap )| ;...if |
|000011a0| 28 72 65 73 75 6c 74 20 | 21 3d 20 6e 6f 45 72 72 |(result |!= noErr|
|000011b0| 29 20 7b 0d 09 09 43 68 | 65 63 6b 45 72 72 6f 72 |) {...Ch|eckError|
|000011c0| 28 20 72 65 73 75 6c 74 | 2c 20 22 5c 70 53 43 53 |( result|, "\pSCS|
|000011d0| 65 74 54 65 73 74 49 6d | 61 67 65 50 69 78 4d 61 |etTestIm|agePixMa|
|000011e0| 70 20 66 61 69 6c 65 64 | 22 20 29 3b 0d 09 09 72 |p failed|" );...r|
|000011f0| 65 74 75 72 6e 20 72 65 | 73 75 6c 74 3b 0d 09 7d |eturn re|sult;..}|
|00001200| 0d 09 0d 09 0d 09 2f 2f | 09 47 65 74 20 63 6f 6d |......//|.Get com|
|00001210| 70 72 65 73 73 69 6f 6e | 20 73 65 74 74 69 6e 67 |pression| setting|
|00001220| 73 20 66 72 6f 6d 20 74 | 68 65 20 75 73 65 72 2c |s from t|he user,|
|00001230| 20 61 6e 64 20 70 72 6f | 76 69 64 65 20 74 68 65 | and pro|vide the|
|00001240| 6d 20 77 69 74 68 20 61 | 20 22 44 65 66 61 75 6c |m with a| "Defaul|
|00001250| 74 73 22 0d 09 2f 2f 09 | 62 75 74 74 6f 6e 2e 20 |ts"..//.|button. |
|00001260| 20 4e 6f 74 65 20 74 68 | 61 74 20 69 66 20 77 65 | Note th|at if we|
|00001270| 20 77 65 72 65 20 6e 6f | 74 20 69 6d 70 6c 65 6d | were no|t implem|
|00001280| 65 6e 74 69 6e 67 20 22 | 44 65 66 61 75 6c 74 73 |enting "|Defaults|
|00001290| 22 20 77 65 20 63 6f 75 | 6c 64 20 75 73 65 20 74 |" we cou|ld use t|
|000012a0| 68 65 0d 09 2f 2f 09 73 | 68 6f 72 74 65 72 20 63 |he..//.s|horter c|
|000012b0| 61 6c 6c 20 22 72 65 73 | 75 6c 74 20 3d 20 53 43 |all "res|ult = SC|
|000012c0| 47 65 74 43 6f 6d 70 72 | 65 73 73 69 6f 6e 28 63 |GetCompr|ession(c|
|000012d0| 69 2c 26 70 61 72 61 6d | 73 2c 77 68 65 72 65 29 |i,&param|s,where)|
|000012e0| 3b 22 2e 20 20 47 69 76 | 69 6e 67 20 74 68 65 20 |;". Giv|ing the |
|000012f0| 75 73 65 72 0d 09 2f 2f | 09 74 68 65 20 22 44 65 |user..//|.the "De|
|00001300| 66 61 75 6c 74 73 22 20 | 6f 70 74 69 6f 6e 20 69 |faults" |option i|
|00001310| 73 20 70 72 6f 62 61 62 | 6c 79 20 6e 6f 74 20 6e |s probab|ly not n|
|00001320| 65 63 65 73 73 61 72 79 | 20 66 6f 72 20 6d 6f 73 |ecessary| for mos|
|00001330| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 74 |t applic|ations t|
|00001340| 68 61 74 0d 09 2f 2f 09 | 77 6f 75 6c 64 20 75 73 |hat..//.|would us|
|00001350| 65 20 74 68 65 20 53 74 | 61 6e 64 61 72 64 20 43 |e the St|andard C|
|00001360| 6f 6d 70 72 65 73 73 69 | 6f 6e 20 64 69 61 6c 6f |ompressi|on dialo|
|00001370| 67 2c 20 61 6e 64 20 69 | 73 20 6f 6e 6c 79 20 73 |g, and i|s only s|
|00001380| 68 6f 77 6e 20 61 73 20 | 61 6e 20 65 78 61 6d 70 |hown as |an examp|
|00001390| 6c 65 0d 09 2f 2f 09 6f | 66 20 68 6f 77 20 69 6d |le..//.o|f how im|
|000013a0| 70 6c 65 6d 65 6e 74 20 | 61 20 63 75 73 74 6f 6d |plement |a custom|
|000013b0| 20 62 75 74 74 6f 6e 2e | 0d 09 20 0d 09 0d 20 09 | button.|.. ... .|
|000013c0| 77 68 65 72 65 2e 68 20 | 3d 20 77 68 65 72 65 2e |where.h |= where.|
|000013d0| 76 20 3d 20 2d 32 3b 20 | 09 09 09 09 09 2f 2f 20 |v = -2; |.....// |
|000013e0| 61 6c 72 65 61 64 79 20 | 73 65 74 20 74 6f 20 28 |already |set to (|
|000013f0| 2d 32 2c 2d 32 29 20 61 | 62 6f 76 65 20 2a 2f 0d |-2,-2) a|bove */.|
|00001400| 09 72 65 73 75 6c 74 20 | 3d 20 53 43 47 65 74 43 |.result |= SCGetC|
|00001410| 6f 6d 70 72 65 73 73 69 | 6f 6e 45 78 74 65 6e 64 |ompressi|onExtend|
|00001420| 65 64 28 0d 09 09 09 09 | 63 69 2c 09 09 09 09 09 |ed(.....|ci,.....|
|00001430| 09 09 09 2f 2f 20 6f 75 | 72 20 69 6e 73 74 61 6e |...// ou|r instan|
|00001440| 63 65 20 6f 66 20 74 68 | 65 20 73 74 61 6e 64 61 |ce of th|e standa|
|00001450| 72 64 20 63 6f 6d 70 72 | 65 73 73 69 6f 6e 20 63 |rd compr|ession c|
|00001460| 6f 6d 70 6f 6e 65 6e 74 | 20 2a 2f 0d 09 09 09 09 |omponent| */.....|
|00001470| 70 61 72 61 6d 73 2c 09 | 09 09 09 09 09 09 2f 2f |params,.|......//|
|00001480| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 73 65 74 | the def|ault set|
|00001490| 74 69 6e 67 73 20 2a 2f | 0d 09 09 09 09 77 68 65 |tings */|.....whe|
|000014a0| 72 65 2c 09 09 09 09 09 | 09 09 2f 2f 20 28 2d 32 |re,.....|..// (-2|
|000014b0| 2c 2d 32 29 20 6d 65 61 | 6e 73 20 63 65 6e 74 65 |,-2) mea|ns cente|
|000014c0| 72 20 64 69 61 6c 6f 67 | 20 6f 6e 20 74 68 65 20 |r dialog| on the |
|000014d0| 62 65 73 74 20 64 65 76 | 69 63 65 20 2a 2f 0d 09 |best dev|ice */..|
|000014e0| 09 09 09 6e 69 6c 2c 09 | 09 09 09 09 09 09 2f 2f |...nil,.|......//|
|000014f0| 20 77 65 20 64 6f 6e 27 | 74 20 6e 65 65 64 20 74 | we don'|t need t|
|00001500| 6f 20 66 69 6c 74 65 72 | 20 61 6e 79 20 64 69 61 |o filter| any dia|
|00001510| 6c 6f 67 20 65 76 65 6e | 74 73 20 2a 2f 0d 09 09 |log even|ts */...|
|00001520| 09 09 6e 69 6c 2c 09 09 | 09 09 09 09 09 2f 2f 20 |..nil,..|.....// |
|00001530| 6f 75 72 20 68 6f 6f 6b | 50 72 6f 63 20 66 6f 72 |our hook|Proc for|
|00001540| 20 68 61 6e 64 6c 69 6e | 67 20 74 68 65 20 63 75 | handlin|g the cu|
|00001550| 73 74 6f 6d 20 62 75 74 | 74 6f 6e 20 2a 2f 0d 09 |stom but|ton */..|
|00001560| 09 09 09 30 2c 09 09 09 | 09 09 09 09 09 2f 2f 20 |...0,...|.....// |
|00001570| 77 65 20 64 6f 6e 27 74 | 20 68 61 76 65 20 61 6e |we don't| have an|
|00001580| 79 20 64 61 74 61 20 74 | 68 61 74 20 6e 65 65 64 |y data t|hat need|
|00001590| 73 20 74 6f 20 62 65 20 | 70 61 73 73 65 64 20 74 |s to be |passed t|
|000015a0| 6f 20 6f 75 72 20 68 6f | 6f 6b 50 72 6f 63 20 2a |o our ho|okProc *|
|000015b0| 2f 0d 09 09 09 09 6e 69 | 6c 20 29 3b 09 09 09 09 |/.....ni|l );....|
|000015c0| 09 09 09 2f 2f 20 4e 61 | 6d 65 20 6f 66 20 74 68 |...// Na|me of th|
|000015d0| 65 20 63 75 73 74 6f 6d | 20 62 75 74 74 6f 6e 20 |e custom| button |
|000015e0| 77 65 20 77 61 6e 74 20 | 61 64 64 65 64 2e 20 20 |we want |added. |
|000015f0| 49 66 20 77 65 20 64 69 | 64 6e 27 74 20 77 61 6e |If we di|dn't wan|
|00001600| 74 20 61 0d 09 09 09 09 | 09 09 09 09 09 09 09 09 |t a.....|........|
|00001610| 2f 2f 20 63 75 73 74 6f | 6d 20 62 75 74 74 6f 6e |// custo|m button|
|00001620| 2c 20 77 65 27 64 20 70 | 61 73 73 20 69 6e 20 6e |, we'd p|ass in n|
|00001630| 69 6c 20 61 6e 64 20 6e | 6f 20 62 75 74 74 6f 6e |il and n|o button|
|00001640| 20 77 6f 75 6c 64 20 62 | 65 20 73 68 6f 77 6e 2e | would b|e shown.|
|00001650| 0d 09 09 09 09 09 09 09 | 09 09 09 09 09 0d 09 0d |........|........|
|00001660| 09 72 65 74 75 72 6e 20 | 72 65 73 75 6c 74 20 3b |.return |result ;|
|00001670| 0d 0d 7d 0d 0d 2f 2f 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..}..//-|--------|
|00001680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000016a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000016b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000016c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 2f 2f |--------|-----.//|
|000016d0| 09 09 09 09 09 0d 2f 2f | 09 4e 61 6d 65 09 09 09 |......//|.Name...|
|000016e0| 47 65 74 4f 75 74 70 75 | 74 46 69 6c 65 52 65 66 |GetOutpu|tFileRef|
|000016f0| 0d 2f 2f 0d 2f 2f 09 41 | 72 67 75 6d 65 6e 74 73 |.//.//.A|rguments|
|00001700| 09 09 73 68 6f 72 74 20 | 2a 64 73 74 50 69 63 74 |..short |*dstPict|
|00001710| 46 52 65 66 20 2d 20 61 | 20 72 65 66 65 72 65 6e |FRef - a| referen|
|00001720| 63 65 20 74 6f 20 61 20 | 73 68 6f 72 74 20 66 69 |ce to a |short fi|
|00001730| 6c 65 20 64 65 73 63 72 | 69 70 74 6f 72 0d 2f 2f |le descr|iptor.//|
|00001740| 0d 2f 2f 09 44 65 73 63 | 72 69 70 74 69 6f 6e 09 |.//.Desc|ription.|
|00001750| 09 41 73 6b 20 74 68 65 | 20 75 73 65 72 20 66 6f |.Ask the| user fo|
|00001760| 72 20 61 20 66 69 6c 65 | 20 74 6f 20 77 72 69 74 |r a file| to writ|
|00001770| 65 20 74 68 65 20 69 6d | 61 67 65 20 74 6f 2c 20 |e the im|age to, |
|00001780| 75 73 69 6e 67 20 74 68 | 65 20 6e 65 77 0d 2f 2f |using th|e new.//|
|00001790| 09 09 09 09 09 73 74 79 | 6c 65 20 73 74 61 6e 64 |.....sty|le stand|
|000017a0| 61 72 64 20 66 69 6c 65 | 20 72 6f 75 74 69 6e 65 |ard file| routine|
|000017b0| 73 2e 20 20 49 66 20 77 | 65 20 61 67 65 74 20 61 |s. If w|e aget a|
|000017c0| 20 66 69 6c 65 20 74 6f | 20 6f 70 65 6e 20 66 72 | file to| open fr|
|000017d0| 6f 6d 0d 2f 2f 09 09 09 | 09 09 74 68 65 20 75 73 |om.//...|..the us|
|000017e0| 65 72 2c 20 64 65 6c 65 | 74 65 20 61 6e 79 20 65 |er, dele|te any e|
|000017f0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 77 69 74 |xisting |file wit|
+--------+-------------------------+-------------------------+--------+--------+